-
Notifications
You must be signed in to change notification settings - Fork 544
[SDK] Feature: Adds defaultCountryCode
prop to ConnectButton
#5709
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SDK] Feature: Adds defaultCountryCode
prop to ConnectButton
#5709
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🦋 Changeset detectedLatest commit: d955c72 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
size-limit report 📦
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5709 +/- ##
==========================================
+ Coverage 51.53% 52.88% +1.34%
==========================================
Files 1094 1098 +4
Lines 57592 58976 +1384
Branches 4755 4791 +36
==========================================
+ Hits 29681 31189 +1508
+ Misses 27193 27070 -123
+ Partials 718 717 -1
*This pull request uses carry forward flags. Click here to find out more.
|
3de0ec8
to
0bd48d7
Compare
.changeset/fast-items-film.md
Outdated
], | ||
mode: "redirect", | ||
passkeyDomain: getDomain(), | ||
defaultSmsCountryCode: "AF", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i would just show this option, maybe with auth option "phone"
kinda confusing to see passkey/mode in here too
.changeset/fast-items-film.md
Outdated
options: [ | ||
"google", | ||
"discord", | ||
"telegram", | ||
"email", | ||
"passkey", | ||
"phone", | ||
"farcaster", | ||
"line", | ||
], | ||
mode: "redirect", | ||
passkeyDomain: getDomain(), | ||
defaultSmsCountryCode: "AF", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
options: [ | |
"google", | |
"discord", | |
"telegram", | |
"email", | |
"passkey", | |
"phone", | |
"farcaster", | |
"line", | |
], | |
mode: "redirect", | |
passkeyDomain: getDomain(), | |
defaultSmsCountryCode: "AF", | |
options: [ | |
"phone", | |
], | |
defaultSmsCountryCode: "IN", // default to india country code |
Problem solved
Short description of the bug fixed or feature added
PR-Codex overview
This PR introduces a
defaultSmsCountryCode
configuration option for In-App and Ecosystem Wallets, enhancing SMS authentication by allowing a default country code to be set.Detailed summary
defaultSmsCountryCode
option tocreateWallet
for In-App and Ecosystem Wallets.EcosystemWalletCreationOptions
andInAppWalletCreationOptions
to includedefaultSmsCountryCode
.InputSelectionUI
to initializecountryCodeInfo
withdefaultSmsCountryCode
.InputSelectionUI
andCountrySelector
to verify default country code behavior.